void sendsms(char *string)
{ 
  char c;
  delay(100);
  Serial.begin(57600); //Correct Baud rate for GPRS module
delay(100);
        
Serial.print("AT+CMGS=8485915\r"); //Send text message to selected phone number
    delay(300);
   
c = *string++; 
 while (c!='\0'){
   Serial.print(c); //Message to be sent.
   c = *string++; 
 }
 
 
 Serial.print(26,BYTE); //Terminate message
 delay(100);
 Serial.begin(4800); //Reset to GPS baud rate
        
}

